package com.ocm.tourism.core.service;

import java.util.List;

import com.ocm.tourism.core.domain.Comment;

public interface CommentService {

   void save(Comment comment);

   void saveBusinessComment(long businessId, Comment comment);

   void delete(long commentId);

   List<Comment> findComments(String cateloguesType,int firstResult,int sizeNo);

   List<Comment> findCommentsByCatalogue(long catelogueId,int firstResult,int sizeNo);

   List<Comment> findCommentsByTour(long tourId,int firstResult,int sizeNo);
   
   List<Comment> findCommentsByTourSale(long tourSaleId,int firstResult,int sizeNo);

   long count(String cateloguesType);

   long countByCatalogue(long catalogueId);

   long countByBusiness(long businessId);
   
   long countByTourSale(long tourSaleId);
   
   long countByTour(long tourId);
}
